const path = require('path')

module.exports = {
    entry: './src/index.js',
    mode: 'development',
    output: {
        path: path.join(__dirname, 'www'),
        filename: 'my-template.js'
    },
    devServer: {
        contentBase: path.join(__dirname, 'www'),
        compress: false,
        port: 8082,
        publicPath: '/'
    }
}